﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Dack_Web2
{
    public partial class mpAdmin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (CurrentContext.IsLogged && CurrentContext.UserName == "Admin")
            {

            }
            else
            {
                Response.Redirect("~/Default.aspx");
            }
        }
    }
}